package model.Service;

import java.util.List;

import model.DAO.VoteQuestionDAO;
import model.Entity.Web.VoteQuestion;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("VoteQuestionService")
public class VoteQuestionService {
	
	@Autowired
	VoteQuestionDAO voteQuestionDAO;
	
	public List<VoteQuestion> getActiveQuestions(){
		return voteQuestionDAO.findActiveQuestion();
	}

}
